
<div id="servicetext">
<h1>Свадебные фото. Светлогорск, Беларусь.</h1>
<?php foreach ($pager->getResults() as $oAlbum): ?>
    <br/><br/><h2><?php echo $oAlbum->getName(); ?></h2>
    <?php foreach ($oAlbum->getFirstPhotos() as $i=>$oPhoto): ?>
        <a rel="fancy" href="<?php echo $oPhoto->getPhotoPath() ?>" ><img src="<?php echo $oPhoto->getPhotoPath('ico') ?>" /></a>
    <?php endforeach; ?>

    <div class="clear">
    </div>
        <p id="copyright"><a href="<?php echo url_for('albums/show?id='.$oAlbum->getId()) ?>">смотреть все фотографии</a></p>
<?php endforeach; ?>
<?php include_partial( 'global/pager', array(
        'pager'     => $pager, 
        'route'     => 'albums', 
        'params'    => array() ) );?>
</div>

<div class="clearfix"></div>


